/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using iMES.Entity.SystemModels;

namespace iMES.Entity.DomainModels
{
    [Entity(TableCnName = "物料清单表",TableName = "BOMmanageAdd",DBServer = "SysDbContext")]
    public partial class BOMmanageAdd:SysEntity
    {
        /// <summary>
       ///物料清单主键
       /// </summary>
       [Key]
       [Display(Name ="物料清单主键")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid BomId { get; set; }

       /// <summary>
       ///成品单编号
       /// </summary>
       [Display(Name ="成品单编号")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string Productnumber { get; set; }

       /// <summary>
       ///成品名称
       /// </summary>
       [Display(Name ="成品名称")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string Productname { get; set; }

       /// <summary>
       ///规格型号
       /// </summary>
       [Display(Name ="规格型号")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string Specificationmode { get; set; }

       /// <summary>
       ///尺寸
       /// </summary>
       [Display(Name ="尺寸")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Size { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateData { get; set; }

       /// <summary>
       ///操作人
       /// </summary>
       [Display(Name ="操作人")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string Operator { get; set; }

       /// <summary>
       ///BOM版本号
       /// </summary>
       [Display(Name ="BOM版本号")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BomVersion { get; set; }

       
    }
}